Moved xroot variable to not confuse pylint (and me).
authoremellor@ewan <emellor@ewan>
Sat, 17 Sep 2005 09:44:29 +0000 (10:44 +0100)
committeremellor@ewan <emellor@ewan>
Sat, 17 Sep 2005 09:44:29 +0000 (10:44 +0100)
Signed-off-by: Ewan Mellor<ewan@xensource.com>
tools/python/xen/xend/server/SrvServer.py

index ecd4975728baadf75626952d5cd6d6f2ef320d79..59c0732c91d62aa23c1435d3c463993e056bd3d6 100644 (file)
@@ -44,7 +44,7 @@ from threading import Thread
 
 from xen.web.httpserver import HttpServer, UnixHttpServer
 
-from xen.xend import XendRoot; xroot = XendRoot.instance()
+from xen.xend import XendRoot
 from xen.xend import Vifctl
 from xen.xend.XendLogging import log
 from xen.web.SrvDir import SrvDir
@@ -52,6 +52,10 @@ import time
 
 from SrvRoot import SrvRoot
 
+
+xroot = XendRoot.instance()
+
+
 class XendServers:
 
     def __init__(self):